import base from "./base"; // 导入接口域名列表
import axios from "../http"; // 导入http中创建的axios实例
import qs from "qs"; // 根据需求是否导入qs模块
const getHotel = {
    hotel_lists(params) {
        return axios.post(`${base.bd}/admin/hotel/lists`, qs.stringify(params));
    },
    hotel_del(params) {
        return axios.post(`${base.bd}/admin/hotel/del`, qs.stringify(params));
    },
    hotel_saveadd(params) {
        return axios.post(`${base.bd}/admin/hotel/saveadd`, qs.stringify(params));
    },
    hotel_saveedit(params) {
        return axios.post(`${base.bd}/admin/hotel/saveedit`, qs.stringify(params));
    },
    hotel_is_home(params) {
        return axios.post(`${base.bd}/admin/hotel/is_home`, qs.stringify(params));
    },
    hotel_home_lists(params) {
        return axios.post(`${base.bd}/admin/hotel_home/lists`, qs.stringify(params));
    },
    hotel_home_saveadd(params) {
        return axios.post(`${base.bd}/admin/hotel_home/saveadd`, qs.stringify(params));
    },
    hotel_home_saveedit(params) {
        return axios.post(`${base.bd}/admin/hotel_home/saveedit`, qs.stringify(params));
    },
    hotel_home_del(params) {
        return axios.post(`${base.bd}/admin/hotel_home/del`, qs.stringify(params));
    },
    hotel_label_logo_lists(params) {
        return axios.post(`${base.bd}/admin/hotel_label_logo/lists`, qs.stringify(params));
    },
    hotel_label_logo_saveadd(params) {
        return axios.post(`${base.bd}/admin/hotel_label_logo/saveadd`, qs.stringify(params));
    },
    hotel_label_logo_saveedit(params) {
        return axios.post(`${base.bd}/admin/hotel_label_logo/saveedit`, qs.stringify(params));
    },
    hotel_label_logo_del(params) {
        return axios.post(`${base.bd}/admin/hotel_label_logo/del`, qs.stringify(params));
    },
    hotel_is_home_lists(params) {
        return axios.post(`${base.bd}/admin/hotel/home_lists`, qs.stringify(params));
    },
    hotel_home_type_lists(params) {
        return axios.post(`${base.bd}/admin/hotel_home_type/lists`, qs.stringify(params));
    },
    hotel_home_type_saveadd(params) {
        return axios.post(`${base.bd}/admin/hotel_home_type/saveadd`, qs.stringify(params));
    },
    hotel_home_type_saveedit(params) {
        return axios.post(`${base.bd}/admin/hotel_home_type/saveedit`, qs.stringify(params));
    },
    hotel_home_type_del(params) {
        return axios.post(`${base.bd}/admin/hotel_home_type/del`, qs.stringify(params));
    },
    hotel_is_show(params) {
        return axios.post(`${base.bd}/admin/hotel/is_show`, qs.stringify(params));
    },
};
export default getHotel;